//
//  FiltrateView.h
//  HuaXin
//
//  Created by 江伟 on 2018/11/2.
//

#import "BaseView.h"
#import "LeftTextImgBtnView.h"
@class FiltrateView;
@protocol FiltrateViewDelegate <NSObject>
- (void)filtrateView:(FiltrateView *)filtrateView didSelectBtnViewIndex:(NSInteger)index state:(NSInteger)state;
@end

/// 商城筛选视图
@interface FiltrateView : BaseView
@property (nonatomic,strong) UIColor *orignalTitleColor;
@property (nonatomic,strong) UIColor *selTitleColor;
@property (nonatomic,strong) NSArray *titles;
@property (nonatomic,strong) NSArray *originalImages;
@property (nonatomic,strong) NSArray *selImagesState1;
@property (nonatomic,strong) NSArray *selImagesState2;
@property (nonatomic,assign) NSInteger defalutSelIndex;
@property (nonatomic,weak) id <FiltrateViewDelegate> delegate;

- (LeftTextImgBtnView *)btnViewForIndex:(NSInteger)index;
@end
